package org.now.ypos.util;

import java.util.Objects;

/**
 * Y-pos util
 * common util put here
 *
 * @author wl
 * @since 2020.11.10
 */
public final class YposUtil {
    private YposUtil() {
    }

    /**
     * deep copy a object
     *
     * @param source source
     * @param <T>    class type
     * @return copy object
     */
    public static <T> T deepCopy(T source) {
        Objects.requireNonNull(source, "Source object should not be null if you want deep copy an object");
        return source;
    }


}
